﻿using JetBrains.Annotations;
using Newtonsoft.Json;
using System.Collections.Generic;
using System.Text.Json.Serialization;

namespace LINGYUN.Abp.WeChat.Work.OA.Approvals.Models;

/// <summary>
/// 审批申请单数据
/// </summary>
public class ApprovalData
{
    /// <summary>
    /// 审批申请详情，由多个表单控件及其内容组成，其中包含需要对控件赋值的信息
    /// </summary>
    [NotNull]
    [JsonProperty("contents")]
    [JsonPropertyName("contents")]
    public List<ApprovalControlData> Contents { get; set; }
    public ApprovalData()
    {

    }

    public ApprovalData(List<ApprovalControlData> contents)
    {
        Contents = contents;
    }
}

